#include "Boid.h"
#include "Ai.h"

float Boid::viewDistanceAllDirections;
float Boid::viewDistanceForward;
float Boid::maxSpeed;
float Boid::minDistance;
float Boid::redStartEnergy;
float Boid::yellowEnergy;

Boid::Boid()
{	
}

Boid::~Boid()
{
}

Boid::BoidType Boid::Type(void)
{
	return type;
}
void Boid::SetType(Boid::BoidType type)
{
	this->type = type;
}

float Boid::Energy(void)
{
	return energy;
}
void Boid::SetEnergy(float energy)
{
	this->energy = energy;
}

float Boid::ViewDistanceAllDirections(void)
{
	return viewDistanceAllDirections;
}
void Boid::SetViewDistanceAllDirections(float distance)
{
	Boid::viewDistanceAllDirections = distance;
}

float Boid::ViewDistanceForward(void)
{
	return viewDistanceForward;
}
void Boid::SetViewDistanceForward(float distance)
{
	Boid::viewDistanceForward = distance;
}

float Boid::MaxSpeed(void)
{
	return maxSpeed;
}
void Boid::SetMaxSpeed(float maxSpeed)
{
	Boid::maxSpeed = maxSpeed;
}

float Boid::MinDistance(void)
{
	return minDistance;
}
void Boid::SetMinDistance(float minDistance)
{
	Boid::minDistance = minDistance;
}

Vector3 Boid::LastPosition(void)
{
	return lastPosition;
}
void Boid::SetLastPosition(Vector3& position)
{
	this->lastPosition = position;
}

float Boid::RedStartEnergy(void)
{
	return redStartEnergy;
}
void Boid::SetRedStartEnergy(float energy)
{
	Boid::redStartEnergy = energy;
}

float Boid::YellowEnergy(void)
{
	return yellowEnergy;
}
void Boid::SetYellowEnergy(float energy)
{
	Boid::yellowEnergy = energy;
}